<div class="khfiles form">
<?php echo $this->Form->create('Khfile',array('type'=>'file'));?>
	<fieldset>
 		<legend><?php __('Add Khfile'); ?></legend>
	<?php
		//echo $this->Form->input('donvi_id');
		echo $this->Form->input('tieude',array('label'=>'Tiêu đề'));
		echo $this->Form->input('noidung',array('label'=>'Nội dung','type'=>'textarea'));
	//	echo $this->Form->input('link');
	//	echo $this->Form->input('ngaytao');
	?>
	</fieldset>
    <table border="0" cellpadding="0" cellspacing="0" style="border: 2px solid #b9c9fe;
            margin-left: auto; margin-right: auto; margin-top:20px; padding: 7px 7px 4px 7px; background-color: #fafafa;">
    			<tr>
    				<td style="padding: 0x 5px 0px 5px"><b>Chọn đường dẫn tập tin</b></td>
    				<td style="padding: 0x 5px 0px 5px">
    					<?php
    						echo $fileUpload->input(array('var'=>'file', 'model'=>'Khfile', 'label' => false));
                         //   echo $fileUpload->input('file'); 
    					?>
    				</td>
    			</tr>
    			<tr>
                    <td></td>
    				<td colspan="2" align="left" style="padding: 0x 5px 0px 5px">
                        <input type="submit" name="Submit" value="Lưu và Tải lên"/>			
                       
    				</td>
    			</tr>
</table>
